<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="tag" uri="com.sand.myTag" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/layui/css/public.css" media="all">
</head>
<body>
<label class="layui-form-label">租客信息</label>
<div class="layui-form layuimini-form">
    <div class="layui-form-item">
        <table style="width: 90%; margin:auto;">
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">租客姓名:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${appoinShow.userName}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">预留电话:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${appoinShow.reservedCall}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
<hr/>
<label class="layui-form-label">房东信息</label>
<div class="layui-form layuimini-form">
    <div class="layui-form-item">
        <table style="width: 90%; margin:auto;">
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">房东姓名:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${appoinShow.name}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="layui-form-item">
                        <label class="layui-form-label ">联系电话:</label>
                        <div class="layui-input-block">
                            <input type="text" value="${appoinShow.phone}" disabled class="layui-input">
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</div>
<hr/>
<label class="layui-form-label">房产信息</label>
<div class="layui-form layuimini-form">
    <div class="layui-form-item">
        <table style="width: 90%; margin:auto;">
            <tr>
                <td colspan="3">
                    <img alt="暂未上传" src="${pageContext.request.contextPath}/renting/img/${appoinShow.housePicture}" style="width: 100%;height: 300px">
                </td>
            </tr>
            <tr>
                <td><div class="layui-form-item">
                    <label class="layui-form-label">市:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.cityNamePro}" disabled class="layui-input" />
                    </div>
                </div></td>
                <td><div class="layui-form-item">
                    <label class="layui-form-label">区/县:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.cityName}" disabled class="layui-input">
                    </div>
                </div></td>
                <td><div class="layui-form-item">
                    <label class="layui-form-label">小区:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.communityName}" disabled class="layui-input">
                    </div>
                </div></td>
            </tr>
            <tr>
                <td><div class="layui-form-item">
                    <label class="layui-form-label">建筑类别:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.buildingType}" disabled class="layui-input" />
                    </div>
                </div></td>
                <td><div class="layui-form-item">
                    <label class="layui-form-label">租房类型:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.rentalType}" disabled class="layui-input">
                    </div>
                </div></td>
                <td><div class="layui-form-item">
                    <label class="layui-form-label">装修情况:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.renovationCondition}" disabled class="layui-input">
                    </div>
                </div></td>
            </tr>
            <tr>
                <td><div class="layui-form-item">
                    <label class="layui-form-label ">付款方式:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.paymentMethod}" disabled class="layui-input">
                    </div>
                </div></td>
                <td><div class="layui-form-item">
                    <label class="layui-form-label">租房类型:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.houseType}" disabled class="layui-input">
                    </div>
                </div></td>
                <td><div class="layui-form-item">
                    <label class="layui-form-label">楼层情况:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.floorSituation}" disabled class="layui-input">
                    </div>
                </div></td>
            </tr>
            <tr>
                <td><div class="layui-form-item">
                    <label class="layui-form-label ">租金:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.price}" disabled class="layui-input">
                    </div>
                </div></td>
                <td><div class="layui-form-item">
                    <label class="layui-form-label">浏览量:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.browseNumber}" disabled class="layui-input">
                    </div>
                </div></td>
                <td><div class="layui-form-item">
                    <label class="layui-form-label">收藏量:</label>
                    <div class="layui-input-block">
                        <input type="text" value="${appoinShow.collectionNumber}" disabled class="layui-input">
                    </div>
                </div></td>
            </tr>
            <tr>
                <td colspan="3"><div class="layui-form-item">
                    <label class="layui-form-label ">描述:</label>
                    <div class="layui-input-block">
                        <textarea type="text" id="content" value="" disabled class="layui-textarea"></textarea>
                    </div>
                </div></td>
            </tr>
        </table>
    </div>
</div>

<script src="${pageContext.request.contextPath}/layui/lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script>
    layui.use(['form', 'table'], function () {
        var $ = layui.jquery,
            form = layui.form,
            table = layui.table;

        $("#content").val("${appoinShow.houseDescribe}")
    })
</script>

</body>
</html>